package com.wanmait.movie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
* Created by Mybatis Generator 2023/11/30
*/
@Data
@TableName(value = "reply")
@Accessors(chain = true)
public class Reply implements Serializable {
    /**
     * 回复id
     */
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 影评id
     */
    @TableField(value = "comments_id")
    private Integer commentsId;

    /**
     * 回复人id
     */
    @TableField(value = "reply_user_id")
    private Integer replyUserId;

    /**
     * 回复内容
     */
    @TableField(value = "reply")
    private String reply;

    /**
     * 回复时间
     */
    @TableField(value = "reply_time")
    private Date replyTime;

    /**
     * enable
     */
    @TableField(value = "enable")
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public static final String COL_COMMENTS_ID = "comments_id";

    public static final String COL_REPLY_USER_ID = "reply_user_id";

    public static final String COL_USERNAME="username";

    public static final String COL_REPLY = "reply";

    public static final String COL_REPLY_TIME = "reply_time";

    public static final String COL_ENABLE = "enable";
}